export default function hasPermission(userAuth, permission) {
  return userAuth.some(auth => permission.includes(auth))
}
